package org.fpaadmin.web;

import javax.persistence.EntityManager;

import org.apache.wicket.markup.html.WebPage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TemplatePage extends WebPage {

    private static final long serialVersionUID = 1L;

    protected static final Logger logger = LoggerFactory
	    .getLogger(TemplatePage.class);

    protected EntityManager getEntityManager() {
	return ((JpaRequestCycle) getRequestCycle()).getEntityManager();
    }

}
